<template >
    <div class="router-button">
        <Slot/>
    </div>
</template>
<script lang="ts" setup>
import {RouterLink,useRouter} from 'vue-router'
import {defineProps, onBeforeMount} from 'vue'
const router=useRouter()
const props=defineProps({
    path:{
        type:String,
        default:'/',
    }
})
onBeforeMount(()=>{
    const fullPath=router.getRoutes()
})
</script>
<style scoped>
.router-button{
    display: block;
}
</style>